package com.lovo.psc.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@TableName("psc_saleinfo")
@NoArgsConstructor
@ApiModel(value = "投标书商品详情实体类",description = "投标书商品详情实体类")
public class SaleInfoBean {
    @TableId(value = "pk_siId",type = IdType.AUTO)
    @ApiModelProperty(value = "供货商品id")
    private long siId;
    @TableField(exist = false)
    @ApiModelProperty(value = "采购商品主键")
    private long saleProductId;
    @TableField("si_oldNum")
    @ApiModelProperty(value = "投标书商品书编号")
    private String oldNum;
    @TableField("si_type")
    @ApiModelProperty(value = "商品类型")
    private String type;
    @TableField("si_num")
    @ApiModelProperty(value = "商品数量")
    private int num;
    @TableField("si_buyPrice")
    @ApiModelProperty(value = "购买价格")
    private float buyPrice;
    @TableField("si_totalPrice")
    @ApiModelProperty(value = "商品总价")
    private float totalPrice;
}
